Yes, there is a thing as a victimless crime. A victimless crime is an illegal criminal activity that does not have an identifiable victim. Some laws criminalize consensual behavior or actions where there are no victims. The criminal justice laws are made by the government which prohibits certain behavior and actions like recreational drug use or prostitution.